import { gql } from "@apollo/client";

export const login_service = gql`
  mutation login($account: String, $password: String, $isStudent: Boolean!) {
    login(account: $account, password: $password, isStudent: $isStudent) {
      code
      message
      data
    }
  }
`;

export const register_service = gql`
  mutation createStudent($params: StudentInput!) {
    createStudent(params: $params) {
      code
      message
    }
  }
`;
